package com.zfy.cmsservice.mapper;

import com.zfy.cmsservice.entity.Exams;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfy.cmsservice.entity.vo.ExamsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 考试表 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2023-12-09
 */
public interface ExamsMapper extends BaseMapper<Exams> {

    List<ExamsVo> pageExams(@Param("page") long page, @Param("size") long size, @Param("begin") String begin, @Param("end") String end);

    int pageExamsTotal(@Param("page") long page, @Param("size") long size, @Param("begin") String begin, @Param("end") String end);

    List<Exams> findAllExams();
}
